#!/bin/bash
cd `dirname $0`
dir=`pwd`

ulimit -S -c 0

echo '
* soft core 0
* hard core 0
' | tee -a /etc/security/limits.conf

# cat /etc/security/limits.conf|grep core